#
# Be sure to run `pod lib lint WonderBaseSDK.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'WonderBaseSDK'
  s.version          = '1.1.5.8'
  s.summary          = 'WonderBaseSDK - 基础功能SDK'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!
 
  s.description      = <<-DESC
                        WonderBaseSDK 基础功能SDK 内部使用.
                       DESC

  s.homepage         = 'https://gitee.com/wonder_ios_sdk/gitee_wonderbasesdk.git'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'CCYQ' => 'ccyq1994@163.com' }
  s.source           = { :git => 'https://gitee.com/wonder_ios_sdk/gitee_wonderbasesdk.git', :tag => s.version.to_s }

  s.ios.deployment_target = '10.0'
  
  s.static_framework = true
  s.requires_arc = true

  s.frameworks = 'UIKit', 'Foundation'
    
  s.xcconfig = { "OTHER_LDFLAGS" => "-ObjC" }
  s.pod_target_xcconfig = {
    'VALID_ARCHS' => '$(ARCHS_STANDARD_64_BIT) armv7',
    'ENABLE_BITCODE' => 'NO',
  }
  s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }

  s.ios.vendored_frameworks = "WonderBaseSDK.framework"
  s.resource = 'WonderBaseSDK.bundle'

  #s.subspec 'WonderBaseSDK' do |ss|
  #  ss.vendored_frameworks = 'WonderBaseSDK.framework'
  #  ss.resource = 'WonderBaseSDK.bundle'
  #end

  
  s.dependency 'WonderCommon', '~> 1.0.0'
  s.dependency 'WonderAnalyticsSDK', '~> 2.0.7.1'
  s.dependency 'YYModel', '~> 1.0.4'
  s.dependency 'zhPopupController', '~> 2.0.0'
  s.dependency 'SVProgressHUD', '~> 2.2.5'
  s.dependency 'IQKeyboardManager', '~> 6.5.5'
  s.dependency 'UMCommon', '~> 7.3.5'
  s.dependency 'UMPush'
end
